@import "@/theme.less";
.coupon{
  position: relative;
  margin: 0 auto;
  background: url("../../assets/images/coupon-bg.png") no-repeat;
  background-size: 100% 100%;
  padding:5px 10px 0 10px;
  box-sizing: border-box;
  overflow: hidden;
  #cover{
    width: 75px;
    height: 75px;
    border-radius: 5px;
    margin-right: 10px;
    float: left;
    img{
      width: 100%;
      height: 100%;
      border-radius: 5px;
      object-fit: cover;
    }
  }
  #name{
    float: left;
    width: 240px;
    line-height: 110%;
    white-space: normal;
    color: #000;
    &.no-cover{
      width: 335px;
    }
  }
  #value{
    color: #fff;
    font-weight: bold;
    float: left;
    margin-top: 10px;
    font-size: @font-max;
  }
  #type,#time{
    position: absolute;
    bottom: 0;
    height: 40px;
    line-height: 40px;
    color: @font-color1;
  }
  #type{
    left: 10px;
  }
  #time{
    right: 10px;
  }
  #status-icon{
    position: absolute;
    width: 60px;
    height: 60px;
    right: 20px;
    top:-10px;
    i{
      font-size: 60px;
      color: red;
    }
  }
}
